﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EasyProp.Tests
{
    class CountInvocationsFilter : IPropertySetterFilter
    {
        public static int Count = 0;

        #region IPropertySetterFilter Members

        public bool Execute(Castle.Core.Interceptor.IInvocation invocation, string propertyName)
        {
            Count++;
            return true;
        }

        #endregion
    }
}
